<template>
  <div>
    <div class="dict-oper">
      <el-button type="danger" @click="removeDict" plain size="mini"
        >删除</el-button
      >
      <el-button type="success" @click="handleCreate" plain size="mini"
        >创建记录</el-button
      >
    </div>
  </div>
</template>

<script>
export default {
  props: {
    dictTypeData: {
      type: Object,
    },
  },
  watch: {
    dictTypeData(newVal) {
      this.dictTypePage = newVal;
    },
  },
  data() {
    return {
      enbaleDialog: false,
      dictTypePage: {},
      dictTypeSear: {},
      removeDictTypeIds: [],
    };
  },
  created() {
  },
  mounted() {},
  methods: {
    handleCreate() {},
    // 删除字典事件
    removeDict() {
      this.$emit("removeDict");
    },
    // 关闭对话框
    closeDialog() {
      this.enbaleDialog = false;
    },
  },
};
</script>

<style>
.dict-type-main {
  height: 500px;
}
</style>